package com.team7.happycommunity.businessservice.entity;

import io.swagger.annotations.ApiModel;
import org.springframework.data.relational.core.sql.In;

import java.io.Serializable;

public class PageInfo<T> implements Serializable {

    private T list;
    private Integer page;

    private Integer limit;

    private Integer count;//总条数

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public PageInfo(T list) {
        this.list = list;
    }

    public T getList() {
        return list;
    }

    public void setList(T list) {
        this.list = list;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }
}
